//@dart=2.12
/// accCode : "1000.1649.1590"
/// bedId : 3384
/// bedNo : "302"
/// branchId : 1590
/// buildingId : 45
/// buildingNo : "1号楼"
/// cityId : null
/// conditionOne : null
/// conditionTwo : null
/// createdBy : "73945"
/// createdDate : "2024-07-11 11:24:33"
/// customerId : 74599
/// deleteStatus : 0
/// detail : "身高:178;"
/// elderName : "20240529"
/// endBy : null
/// endByName : "欧葆庭测试"
/// endTime : null
/// eventClass : 300
/// eventClassName : "体征异常"
/// eventClassSubset : 60
/// eventClassSubsetName : "60"
/// eventType : 1
/// floorId : 124
/// floorNo : "三楼"
/// id : 534
/// remark : null
/// roomId : 2188
/// roomNo : "302"
/// saasId : 1000
/// sourceId : 20245
/// startBy : 73945
/// startByName : "欧葆庭测试"
/// startTime : "2024-07-11 11:24:25"
/// status : 0
/// sum : 0
/// tenantId : 1000
/// updatedBy : "73945"
/// updatedDate : "2024-07-11 11:24:33"

class AbnormalEventListData {
  AbnormalEventListData({
      this.accCode, 
      this.bedId, 
      this.bedNo, 
      this.branchId, 
      this.buildingId, 
      this.buildingNo, 
      this.cityId, 
      this.conditionOne, 
      this.conditionTwo, 
      this.createdBy, 
      this.createdDate, 
      this.customerId, 
      this.deleteStatus, 
      this.detail, 
      this.elderName, 
      this.endBy, 
      this.endByName, 
      this.endTime, 
      this.eventClass, 
      this.eventClassName, 
      this.eventClassSubset, 
      this.eventClassSubsetName, 
      this.eventType, 
      this.floorId, 
      this.floorNo, 
      this.id, 
      this.remark, 
      this.roomId, 
      this.roomNo, 
      this.saasId, 
      this.sourceId, 
      this.startBy, 
      this.startByName, 
      this.startTime, 
      this.status, 
      this.sum, 
      this.tenantId, 
      this.updatedBy, 
      this.updatedDate,});

  AbnormalEventListData.fromJson(dynamic json) {
    accCode = json['accCode'];
    bedId = json['bedId'];
    bedNo = json['bedNo'];
    branchId = json['branchId'];
    buildingId = json['buildingId'];
    buildingNo = json['buildingNo'];
    cityId = json['cityId'];
    conditionOne = json['conditionOne'];
    conditionTwo = json['conditionTwo'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    customerId = json['customerId'];
    deleteStatus = json['deleteStatus'];
    detail = json['detail'];
    elderName = json['elderName'];
    endBy = json['endBy'];
    endByName = json['endByName'];
    endTime = json['endTime'];
    eventClass = json['eventClass'];
    eventClassName = json['eventClassName'];
    eventClassSubset = json['eventClassSubset'];
    eventClassSubsetName = json['eventClassSubsetName'];
    eventType = json['eventType'];
    floorId = json['floorId'];
    floorNo = json['floorNo'];
    id = json['id'];
    remark = json['remark'];
    roomId = json['roomId'];
    roomNo = json['roomNo'];
    saasId = json['saasId'];
    sourceId = json['sourceId'];
    startBy = json['startBy'];
    startByName = json['startByName'];
    startTime = json['startTime'];
    status = json['status'];
    sum = json['sum'];
    tenantId = json['tenantId'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  String? accCode;
  num? bedId;
  String? bedNo;
  num? branchId;
  num? buildingId;
  String? buildingNo;
  dynamic cityId;
  dynamic conditionOne;
  dynamic conditionTwo;
  String? createdBy;
  String? createdDate;
  num? customerId;
  num? deleteStatus;
  String? detail;
  String? elderName;
  dynamic endBy;
  String? endByName;
  String? endTime;
  num? eventClass;
  String? eventClassName;
  num? eventClassSubset;
  String? eventClassSubsetName;
  num? eventType;
  num? floorId;
  String? floorNo;
  num? id;
  dynamic remark;
  num? roomId;
  String? roomNo;
  num? saasId;
  num? sourceId;
  num? startBy;
  String? startByName;
  String? startTime;
  num? status;
  num? sum;
  num? tenantId;
  String? updatedBy;
  String? updatedDate;
AbnormalEventListData copyWith({  String? accCode,
  num? bedId,
  String? bedNo,
  num? branchId,
  num? buildingId,
  String? buildingNo,
  dynamic cityId,
  dynamic conditionOne,
  dynamic conditionTwo,
  String? createdBy,
  String? createdDate,
  num? customerId,
  num? deleteStatus,
  String? detail,
  String? elderName,
  dynamic endBy,
  String? endByName,
  dynamic endTime,
  num? eventClass,
  String? eventClassName,
  num? eventClassSubset,
  String? eventClassSubsetName,
  num? eventType,
  num? floorId,
  String? floorNo,
  num? id,
  dynamic remark,
  num? roomId,
  String? roomNo,
  num? saasId,
  num? sourceId,
  num? startBy,
  String? startByName,
  String? startTime,
  num? status,
  num? sum,
  num? tenantId,
  String? updatedBy,
  String? updatedDate,
}) => AbnormalEventListData(  accCode: accCode ?? this.accCode,
  bedId: bedId ?? this.bedId,
  bedNo: bedNo ?? this.bedNo,
  branchId: branchId ?? this.branchId,
  buildingId: buildingId ?? this.buildingId,
  buildingNo: buildingNo ?? this.buildingNo,
  cityId: cityId ?? this.cityId,
  conditionOne: conditionOne ?? this.conditionOne,
  conditionTwo: conditionTwo ?? this.conditionTwo,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  customerId: customerId ?? this.customerId,
  deleteStatus: deleteStatus ?? this.deleteStatus,
  detail: detail ?? this.detail,
  elderName: elderName ?? this.elderName,
  endBy: endBy ?? this.endBy,
  endByName: endByName ?? this.endByName,
  endTime: endTime ?? this.endTime,
  eventClass: eventClass ?? this.eventClass,
  eventClassName: eventClassName ?? this.eventClassName,
  eventClassSubset: eventClassSubset ?? this.eventClassSubset,
  eventClassSubsetName: eventClassSubsetName ?? this.eventClassSubsetName,
  eventType: eventType ?? this.eventType,
  floorId: floorId ?? this.floorId,
  floorNo: floorNo ?? this.floorNo,
  id: id ?? this.id,
  remark: remark ?? this.remark,
  roomId: roomId ?? this.roomId,
  roomNo: roomNo ?? this.roomNo,
  saasId: saasId ?? this.saasId,
  sourceId: sourceId ?? this.sourceId,
  startBy: startBy ?? this.startBy,
  startByName: startByName ?? this.startByName,
  startTime: startTime ?? this.startTime,
  status: status ?? this.status,
  sum: sum ?? this.sum,
  tenantId: tenantId ?? this.tenantId,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['accCode'] = accCode;
    map['bedId'] = bedId;
    map['bedNo'] = bedNo;
    map['branchId'] = branchId;
    map['buildingId'] = buildingId;
    map['buildingNo'] = buildingNo;
    map['cityId'] = cityId;
    map['conditionOne'] = conditionOne;
    map['conditionTwo'] = conditionTwo;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['customerId'] = customerId;
    map['deleteStatus'] = deleteStatus;
    map['detail'] = detail;
    map['elderName'] = elderName;
    map['endBy'] = endBy;
    map['endByName'] = endByName;
    map['endTime'] = endTime;
    map['eventClass'] = eventClass;
    map['eventClassName'] = eventClassName;
    map['eventClassSubset'] = eventClassSubset;
    map['eventClassSubsetName'] = eventClassSubsetName;
    map['eventType'] = eventType;
    map['floorId'] = floorId;
    map['floorNo'] = floorNo;
    map['id'] = id;
    map['remark'] = remark;
    map['roomId'] = roomId;
    map['roomNo'] = roomNo;
    map['saasId'] = saasId;
    map['sourceId'] = sourceId;
    map['startBy'] = startBy;
    map['startByName'] = startByName;
    map['startTime'] = startTime;
    map['status'] = status;
    map['sum'] = sum;
    map['tenantId'] = tenantId;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}